# -*- mode: snippet -*-
# name: glm, logistic regression
# key: glm.logistic.regression@stats
# contributor : Shuguang Sun
# --
${1:glmfit} <- glm(
formula = ${2:~},
family = binomial(link = "logit"),
data = ${1:dt}
)
